/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Casting;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author Dennis
 */
public class RaizNuevo2 {
    public static void main(String args[]) throws IOException{
               
        BufferedReader buff = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("Escribe un número:");
        //Lectura del numero readLine
        String str = buff.readLine();
        //Casting
        int conversion = Integer.parseInt(str );
        
        System. out.println("La raíz cuadrada de "
             + conversion
             + " es "
             + Math.sqrt(conversion) );
     }
}
